package top.bluesword.java.lang.order;

public class ExtendsExecutionOrder extends ExecutionOrder {
  static {
    System.out.println("静态初始化块");
  }
  {
    System.out.println("普通初始化块");
  }
  public ExtendsExecutionOrder() {
    System.out.println("构造方法");
  }

  public static class InnerClass {
    static {
      System.out.println("静态内部类静态初始化块");
    }
    {
      System.out.println("普通内部类普通初始化块");
    }
    public InnerClass() {
      System.out.println("静态内部类构造方法");
    }
  }

  public InnerClass buildInnerClass(){
    System.out.println("普通方法");
    return new InnerClass();
  }

}
